package com.source.lightfowl.VO;

import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

/**
 * @Description:
 * @Author: Faink
 * @CreateTime: 2020/9/11 16:29
 */
@Data
public class PoultrySalesVO {
    private String poultryId;
    private Date labelingDate;
    private String barcodeMachineId;
    private String barcodeNumber;
    private String poultryName;
    private BigInteger salesTerminalId;
    private String salesAddr;
    private String salesTerminalName;
    private Integer week;
    private BigInteger salesSum;
    private String houseAddr;
    private String houseName;
    private String houseLatitude;
    private String houseLongitude;

    public PoultrySalesVO() {
    }

    public PoultrySalesVO(String poultryId
            , Date labelingDate, String barcodeMachineId, String barcodeNumber
            , String poultryName, BigInteger salesTerminalId, String salesAddr
            , String salesTerminalName, Integer week, BigInteger salesSum
            , String houseAddr, String houseName, String houseLatitude
            , String houseLongitude) {
        this.poultryId = poultryId;
        this.labelingDate = labelingDate;
        this.barcodeMachineId = barcodeMachineId;
        this.barcodeNumber = barcodeNumber;
        this.poultryName = poultryName;
        this.salesTerminalId = salesTerminalId;
        this.salesAddr = salesAddr;
        this.salesTerminalName = salesTerminalName;
        this.week = week;
        this.salesSum = salesSum;
        this.houseAddr = houseAddr;
        this.houseName = houseName;
        this.houseLatitude = houseLatitude;
        this.houseLongitude = houseLongitude;
    }


    @Override
    public String toString() {
        return "PoultrySalesVO{" +
                "poultryId=" + poultryId +
                ", labelingDate=" + labelingDate +
                ", barcodeMachineId='" + barcodeMachineId + '\'' +
                ", barcodeNumber='" + barcodeNumber + '\'' +
                ", poultryName='" + poultryName + '\'' +
                ", salesAddr='" + salesAddr + '\'' +
                ", salesTerminalName='" + salesTerminalName + '\'' +
                ", week=" + week +
                ", salesSum=" + salesSum +
                ", houseAddr='" + houseAddr + '\'' +
                ", houseName='" + houseName + '\'' +
                ", houseLatitude='" + houseLatitude + '\'' +
                ", houseLongitude='" + houseLongitude + '\'' +
                '}';
    }
}
